#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <iostream>

void fun3()
{
  int *foo = (int*)-1;
  std::cout << *foo;
}

void fun2()
{
  fun3();
}
void fun1()
{
  fun2();
}


int main(int argc, char **argv)
{
  fun1();
}
